/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package NM_Procesos;

/**
 *
 * @author alumnos
 */
public class ImprimirMensajes {

    public void print_message(Object msg) {

        System.out.println(msg);
    }

    String mergeWords(Object var, int spaces) {
        String return_word = "";
        String blanquito = "...............";
        var = var.toString().replaceAll("-1", "");
        return_word = var.toString() + blanquito.substring(0, spaces - var.toString().length());
        return return_word;
    }
}
